package com.yuncheng.oaApi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.common.base.service.BaseService;
import com.yuncheng.oaApi.entity.OaSpcyJcyFybxdgrjl;
import com.yuncheng.entity.YcSysUser;
import com.yuncheng.vo.GetKsKz;
import com.yuncheng.oaApi.vo.PageVo;

import java.util.List;

public interface IOaYcSysUserService extends BaseService<YcSysUser> {
     YcSysUser getYcSysUserById(String userId);

     // 获取科室-对应的科长
     List<GetKsKz> getKsKzObject(String deptName, String zw);


     List<GetKsKz> getKsKzObjectzbm(String deptName, String zw);

     /**
      * 获取用户主部门id
      * @param userid
      * @return
      */
     String getUserZbmByUserId(String userid);

     List<YcSysUser> selectUserBySfzh(String sfzh);

     Page<YcSysUser> getFybxdUserPageList(YcSysUser query, String gjz, PageVo pageVo);


     List<YcSysUser> getDeptIndexUserList(String sysorgid);

     /**
      * 查询用户姓名列表-根据ids
      * @param ids
      * @return
      */
     List<YcSysUser> findRealnameListByIds(List<String> ids);


     /**
      * 更新用户-银行卡及公务卡信息
      * 根据报销人员进行同步修改
      */
     void updateSysYhkOrGwk(OaSpcyJcyFybxdgrjl oldBean, OaSpcyJcyFybxdgrjl bxdryBean);

     String findRealnameById(String id);



}
